﻿<Page
    x:Class="Instagram.Version2.PhotoDetails"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Instagram.Version2"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

    <StackPanel>
        <Grid>
            <Button Name="backBtn" Content="Back" Click="Back_Click" HorizontalAlignment="Left"/>
            <Button Name="deleteBtn" Content="Delete" Visibility="Collapsed" Click="DeletePhoto_Click" HorizontalAlignment="Right"/>
        </Grid>
        <ScrollViewer Width="380" Height="550" Margin="10,0">
            <StackPanel>
                <TextBlock Name="title"></TextBlock>
                <TextBlock Name="created"></TextBlock>
                <TextBlock Name="location" TextWrapping="Wrap"></TextBlock>
                <Image x:Name="imagePreview" Stretch="Uniform"/>
                <Grid>
                    <TextBlock Name="likesTxt" HorizontalAlignment="Left"></TextBlock>
                    <Button Name="likeBtn" Click="Like_Click" Content="Like" HorizontalAlignment="Right"></Button>
                </Grid>
                <StackPanel Name="allComments">

                </StackPanel>
                <TextBox Name="commentTxt"></TextBox>
                <Button Click="AddComment_Click" Content="Add Comment" HorizontalAlignment="Center"></Button>
            </StackPanel>
        </ScrollViewer>
    </StackPanel>
</Page>
